.class Lcom/instagram/android/b/q;
.super Ljava/lang/Object;
.source "InstagramAnalyticsLogger.java"

# interfaces
.implements Lcom/instagram/android/b/k;


# instance fields
.field final synthetic a:Lcom/instagram/android/b/h;

.field private final b:Lcom/instagram/b/b;


# direct methods
.method private constructor <init>(Lcom/instagram/android/b/h;Lcom/instagram/b/b;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 539
    iput-object p1, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 540
    iput-object p2, p0, Lcom/instagram/android/b/q;->b:Lcom/instagram/b/b;

    .line 541
    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/b/h;Lcom/instagram/b/b;Lcom/instagram/android/b/i;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 535
    invoke-direct {p0, p1, p2}, Lcom/instagram/android/b/q;-><init>(Lcom/instagram/android/b/h;Lcom/instagram/b/b;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    .prologue
    .line 545
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    iget-object v1, p0, Lcom/instagram/android/b/q;->b:Lcom/instagram/b/b;

    invoke-static {v0, v1}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;Lcom/instagram/b/b;)V

    .line 547
    const-string v0, "InstagramAnalyticsLogger"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "New low-latency event "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/b/q;->b:Lcom/instagram/b/b;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 549
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-static {v0}, Lcom/instagram/android/b/h;->d(Lcom/instagram/android/b/h;)Lcom/instagram/android/b/b;

    move-result-object v0

    if-nez v0, :cond_0

    .line 550
    const-string v0, "InstagramAnalyticsLogger"

    const-string v1, "Starting new low-latency session"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 551
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    iget-object v1, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-static {v1}, Lcom/instagram/android/b/h;->i(Lcom/instagram/android/b/h;)Lcom/instagram/android/b/b;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;Lcom/instagram/android/b/b;)Lcom/instagram/android/b/b;

    .line 553
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-static {v0}, Lcom/instagram/android/b/h;->d(Lcom/instagram/android/b/h;)Lcom/instagram/android/b/b;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/b/b;->a(J)V

    .line 556
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-static {v0}, Lcom/instagram/android/b/h;->j(Lcom/instagram/android/b/h;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x1

    const-wide/16 v2, 0x1388

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 559
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/b/q;->a:Lcom/instagram/android/b/h;

    invoke-static {v0}, Lcom/instagram/android/b/h;->d(Lcom/instagram/android/b/h;)Lcom/instagram/android/b/b;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/b/q;->b:Lcom/instagram/b/b;

    invoke-virtual {v0, v1}, Lcom/instagram/android/b/b;->a(Lcom/instagram/b/b;)V

    .line 560
    return-void
.end method
